package org.example.hw.dto.user;

import org.hibernate.validator.constraints.NotBlank;

public class ChangePasswordDto {

	@NotBlank
	private String oldPassword;

	@NotBlank
	private String newPassword;

	@NotBlank
	private String newPasswordRetyped;

	public ChangePasswordDto() {

	}

	public String getOldPassword() {
		return oldPassword;
	}

	public void setOldPassword(String oldPassword) {
		this.oldPassword = oldPassword;
	}

	public String getNewPassword() {
		return newPassword;
	}

	public void setNewPassword(String newPassword) {
		this.newPassword = newPassword;
	}

	public String getNewPasswordRetyped() {
		return newPasswordRetyped;
	}

	public void setNewPasswordRetyped(String newPasswordRetyped) {
		this.newPasswordRetyped = newPasswordRetyped;
	}

}
